import service from '@/utils/request'
// eslint-disable-next-line no-unused-vars
const { httpPostForm, httpPost, httpGet } = service

const request = {
    //根据条件分页查询加工收料
    processReceivingList (params) {
        return httpPost({
            url: '/material/processingReceipt/listByEntity',
            params
        })
    },
    //新增加工收料
    AddprocessReceiving (params) {
        return httpPost({
            url: '/material/processingReceipt/create',
            params
        })
    },
    //修改加工收料
    EditprocessReceiving (params) {
        return httpPost({
            url: '/material/processingReceipt/update',
            params
        })
    },
    //修改加工收料明细
    EditprocessReceivingList (params) {
        return httpPost({
            url: '/material/processingReceipt/updateList',
            params
        })
    },
}

export default request